{extend name="base" /} 
{block name="body"}
<div class="right">
	<div class="rigtop">
		<span class="title">提现列表</span>
	</div>
	<div class="indrig_con orders_con">
		<div class="zizh_btnbox">
			<button class="zizh_btn" type="button" onclick="tixian('{:url('finace/tixian_add')}')">提现</button>
		</div>
		<div class="chax_jiegbt clearfix">
			<div class="chax_jieg">可提现：{$data.balance|default='0'}元，冻结：{$data.is_balance|default='0'}元 </div>
		</div>
		<div class="orders_content" style="margin-top: 0px;">
			<table class="zizh_table1">
				<thead>
					<tr>
						<th>提现金额</th>
						<th>到帐金额</th>
						<th>到帐帐号</th>
						<th>提现方式</th>
						<th>提现时间</th>
						<th>处理结果</th>
						<th>处理时间</th>
					</tr>
				</thead>
				<tbody id="tbody">
					{volist name="list" id="vo" empty="$empty"}
					<tr>
						<td>{$vo.balance|default='0'}</td>
						<td>{$vo.actual_balance|default='0'}</td>
						<td>{$vo.bank_no|default='0'}</td>
						<td>{$vo.tixian_type|default='0'}</td>
						<td>{$vo.create_time|default='0'}</td>
						<td>
							{switch name="$vo.cash_state"}
							 	{case value="1"}处理中{/case}
							  	{case value="2"}已完成{/case}
							    {default /}失败
							{/switch}
						</td>
						<td>{$vo.deal_time|default='0'}</td>
					</tr>
					{/volist}
				</tbody>
			</table>
		</div>
	</div>
</div>

{/block}
{block name="script"}
<script>
function tixian(url) {
layer.open({
	type: 2,
	title: '商家提现',
	shadeClose: true,
	shade: 0.8,
	area: ['500px', '370px'],
		content: url
	});
}
</script>
{/block}